package transfer;

import java.util.ArrayList;

import pojo.ChessOnlineRoom;

public class RoomData extends Data {
	private static final long serialVersionUID = -389756243096323206L;
	private ArrayList<ChessOnlineRoom> rooms;
	public RoomData(String header,ArrayList<ChessOnlineRoom> rooms) {
		super(header);
		this.rooms = rooms;
	}
	public ArrayList<ChessOnlineRoom> getRooms() {
		return rooms;
	}
	public void setRooms(ArrayList<ChessOnlineRoom> rooms) {
		this.rooms = rooms;
	}
	
	
}
